
<!-- 引入基类模板 -->
{extend name='public/base' /}

<!-- 主体部分 -->
{block name='content'}

    <!-- 功能操作区一 -->
    <form class="layui-form toolbar">
        <div class="layui-form-item">
                {empty name="$company_id"}
            <div class="layui-inline">
                <label class="layui-form-label w-auto">客户名称：</label>
                <div class="layui-input-inline">
                    
                    <input placeholder="请选择客户" class="layui-input" id="selectInput" autocomplete="off" value="">
                    <input type="hidden" name="company_id" id="company_id" value="{$info['company_id']|default=''}">

                </div>
                <!-- <label class="layui-form-label w-auto">合同编号：</label>
                <div class="layui-input-inline">
                    <select name="contract_id" id="contract_id">
                        <option value="">请选择合同编号</option>
                    </select>
                </div> -->
                <label class="layui-form-label w-auto">案件号：</label>
                <div class="layui-input-inline">
                    <input type="text" name="number" placeholder="请输入案件号" autocomplete="off" class="layui-input">
                </div>
                <label class="layui-form-label w-auto">申请号：</label>
                <div class="layui-input-inline">
                    <input type="text" name="application_number" placeholder="请输入内部编号" autocomplete="off" class="layui-input">
                </div>
                <label class="layui-form-label w-auto">状态：</label>
                <div class="layui-input-inline">
                    <!-- <select name="status" id="status">
                        <option value="">请选择状态</option>
                        <option value="0">未提交</option>
                        <option value="1">已提交</option>
                        <option value="2">授权未缴费</option>
                        <option value="3">已缴申请费</option>
                        <option value="4">初审合格</option>
                        <option value="5">公布及进实审</option>
                        <option value="6">已公布</option>
                    </select> -->
                 {common:select param="new_status|0|状态|name|id" data="$newstatusList" value="isset($info['new_status']) ? $info['new_status'] : '0'"}
                </div>
            </div>
        
            <div class="layui-inline">
                <div class="layui-input-inline" style="width: auto;">
                    {widget:query name="查询"}
                    {widget:add name="添加专利"}
                    <a href="javascript:" class="layui-btn" id="add_list">    
                        <i class="layui-icon layui-icon-add-1"></i> 批量添加
                    </a>
                    {widget:dall name="批量删除"}

                    <a href="javascript:" class="layui-btn layui-btn-normal" id="batch_import">    
                        <i class="layui-icon layui-icon-add-1"></i> 导入
                    </a>
                    <a href="javascript:" class="layui-btn layui-btn-warm" id="download">    
                        <i class="layui-icon layui-icon-download-circle"></i> 批量下载
                    </a>
                </div>
            </div>
                {/empty}
        </div>
    </form>

    <!-- TABLE渲染区 -->
    <table class="layui-hide" id="tableList" lay-filter="tableList"></table>

    <!-- 操作功能区二 -->
    <script type="text/html" id="toolBar">
        <!-- {literal}
              {{#  if(d.new_status >= '27' && d.issue_date != ''){ }}
                <button class="layui-btn layui-btn-warm layui-btn-xs" lay-event="pay">缴费</button>
              {{#  } else { }}
              {{#  } }}
        {/literal} -->

        <button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="notice">通知书</button>
        {widget:edit name="编辑"}
        {widget:delete name="删除"}
    </script>

<style>
ul.layui-menu.layui-dropdown-menu {
    max-height: 300px;
    width: 200px;
    overflow-x: hidden;
}
.layui-table-view .layui-table {
    width: -webkit-fill-available;
}
</style>
{/block}